import request from '@/utils/request'
export function getRoleList() {
  return request({
    url: '/sys/role',
    method: 'get'
  })
}
export function getRoleById(id) {
  return request({
    url: `/sys/role/${id}`,
    method: 'get'
  })
}
